package com.jymj.service;

import com.jymj.entity.ComplaintsEntity;
import com.jymj.entity.ComplaintsFile;
import com.jymj.entity.dto.ComplaintsDto;
import com.jymj.entity.vo.ComplaintsVo;
import com.jymj.utils.FileUtile.FileUploadEntity;

import java.util.List;

/**
 * Created by ${lc} on 2021/6/21.
 */
public interface ComplaintsService {
    List<ComplaintsEntity> queryList(ComplaintsDto complaintsDto);

    void save(ComplaintsEntity complaintsEntity);

    void update(ComplaintsEntity complaintsEntity);

    void delete(Long... ids);

    List<ComplaintsVo> statistical(ComplaintsDto complaintsDto);

    ComplaintsFile saveFile(FileUploadEntity fileUploadEntity);

    void deleteFile(Integer id);

    ComplaintsFile queryObject(Integer id);

    List<ComplaintsFile> queryFiles(Long[] ids);
}
